package com.hl.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Teacher implements Serializable {
    private Integer tid;
    private String tname;
    private Integer collegeId;

    // 外键属性
    private List<Course> courses;
    private College college;
}
